package com.zf.agentuse;

/**
 * @author Zhou Feng
 */
public class Student {
    private String name;
    private Integer age;

    public String getName() {
        System.out.printf("执行了 getName 方法，响应是：%s\n", name);
        return name;
    }

    public void setName(String name) {
        System.out.printf("执行了 setName 方法，参数是：%s\n", name);
        this.name = name;
    }

    public Integer getAge() {
        System.out.printf("执行了 getAge 方法，响应是：%d\n", age);
        return age;
    }

    public void setAge(Integer age) {
        System.out.printf("执行了 setAge 方法，参数是：%d\n", age);
        this.age = age;
    }
}
